home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Files....
- Date: Fri, 29 Mar 96 22:31:27 GMT
- Organization: none
- Message-ID: <828138687snz@genesis.demon.co.uk>
- References: <1996Mar29.165002.3379@leeds.ac.uk>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <1996Mar29.165002.3379@leeds.ac.uk>
- csyamc@scs.leeds.ac.uk "A M Casey" writes:
-
- >Is there any way of checking whether or not a file is in use;
-
- There is no way provided by the C language itself.
-
- >ie I'm trying to write something to a file but it all goes horribly
- >wrong if two people try it.
-
- C leaves this as undefined behaviour. Your particular OS/C implementation
- may provide a way but you should discuss that in a newsgroup relevant
- to that paticular OS/C implementation.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-